home *** CD-ROM | disk | FTP | other *** search
/ User's Choice Windows CD / User's Choice Windows CD (CMS Software)(1993).iso / dt / sperm.zip / SPERM.H < prev    next >
C/C++ Source or Header  |  1992-12-20  |  1KB  |  49 lines

  1. //
  2. // SPERM.H - general header file for the swimming sperm SPX library
  3. //
  4. // Version 1.0 12/18/92 Copyright (C) 1992 Hutchins Software
  5. // Author: Edward Hutchins
  6. // Revisions:
  7. //
  8.  
  9. #ifndef RC_INVOKED
  10.  
  11. #include <winext.h>
  12.  
  13. //
  14. // typedefs and defines
  15. //
  16.  
  17. // maximum sperm nSpermCnt
  18. #define SPERM_MAX 200
  19.  
  20. typedef enum { TRI_FALSE, TRI_TRUE, TRI_UNSET } TRI;
  21. pointerdef( TRI );
  22.  
  23. //
  24. // prototypes
  25. //
  26.  
  27. // sperm.c
  28. BOOL FAR PASCAL EXPORT LibMain( HANDLE hInstance, WORD wDataSeg, WORD wHeapSize, LPSTR szCmdLine );
  29. VOID FAR PASCAL EXPORT WEP( BOOL bSystemExit );
  30. LPSTR FAR PASCAL EXPORT SaverInit( LPBOOL lpbEnabled );
  31. BOOL FAR PASCAL EXPORT SaverDlgProc( HWND hdlg, WORD mess, WORD wP, LONG lP );
  32.  
  33. // spermplt.c
  34. VOID FAR PASCAL EXPORT SaverDraw( HWND hwnd, HDC hdc, HANDLE hinst, BOOL (FAR PASCAL *lpfnYield)( VOID ) );
  35.  
  36. #endif // RC_INVOKED
  37.  
  38. //
  39. // resource defines
  40. //
  41.  
  42. #define IDI_SPERM       10
  43.  
  44. #define IDD_SAVERDLG    100 // not used => "DIALOGBOX" is the name
  45. #define IDD_S_SPERMCNT  101
  46. #define IDD_S_ENABLE    102
  47. #define IDD_S_BLANK     103
  48.  
  49.